package com.sc.nft.controller.request;

import com.sc.nft.enums.WalletChannelEnum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class BindBankCardRequest {


    @ApiModelProperty("银行卡号")
    @NotBlank(message = "银行卡号不能为空")
    private String cardNo;
    @ApiModelProperty("绑卡id")
    private Long id;
//    @ApiModelProperty("银行id")
//    @NotNull(message = "银行id不能为空")
//    private Long bankId;


    @ApiModelProperty("姓名")
    @NotBlank(message = "姓名不能为为空")
    private String name;

    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    @Pattern(regexp = "1[3-9][0-9]\\d{8}", message = "手机号格式不正确")
    private String phoneNo;

    @ApiModelProperty("身份证号")
    @NotBlank(message = "身份证号不能为为空")
    private String certificateNo;

    @ApiModelProperty("连连交易密码")
    private String password;

    @ApiModelProperty("连连随机因子")
    private String randomKey;

}
